home *** CD-ROM | disk | FTP | other *** search
/ Pro Intralink 3.1 / Pro Intralink v3.1.iso / dsrc / templates / unix / u_dcadshutdown.tpl < prev    next >
Encoding:
Text File  |  2001-11-27  |  415 b   |  20 lines

  1. // 13-Mar-00 $$1 JJE Created
  2. // 13-Apr-00 $$2 JJE Changes
  3. #include:head.inc
  4.  
  5. set nmsdir=$prodir/$mc/nms
  6.  
  7. $nmsdir/nmsq -quiet -off
  8.  
  9. if ($status == 0) then
  10.     echo "DCAD disabled successfully"
  11. else
  12.     $nmsdir/nmsq -quiet -ping
  13.     
  14.     if ($status == 0) then
  15.         echo "dcad_shutdown failed. Incompatible nmsd daemon is running."
  16.     else
  17.         echo "nmsd is not running. DCAD was not enabled"
  18.     endif
  19. endif
  20.